package dgut.haitaobao.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "product_img",autoResultMap = true)
public class ProductImg {
    @TableId(value = "id",type = IdType.INPUT)
    private String id;

    @TableField(value = "item_id")
    private String itemId;

    @TableField(value = "url")
    private String url;

    @TableField(value = "sort")
    private Integer sort;

    @TableField(value = "is_main")
    private Integer isMain;

    @TableField(value = "created_time")
    private Date createdTime;

    @TableField(value = "updated_time")
    private Date updatedTime;

}
